/**
 * @file    lv_port_os.h
 * @author  Neo.Yan (yanchao@keep.com)
 * @brief   
 * @version 1.0
 * @date    2021-01-14
 * 
 * All right reserved by Shenzhen Calorie Technology CO.,Ltd.
 * 
 */

#ifndef _LV_PORT_OS_H_
#define _LV_PORT_OS_H_

#ifdef WIN32
#include <malloc.h>
#define k_malloc malloc
#define k_free   free
#else
#include <FreeRTOS.h>
#include <task.h>
#define k_malloc pvPortMalloc
#define k_free   vPortFree
#endif


#ifdef __cplusplus
extern "C"
{
#endif




#ifdef __cplusplus
}
#endif

#endif /* _LV_PORT_OS_H_ */
